package com.gis.entity;

import lombok.Data;
import java.io.Serializable;
import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.TableName;
/*
 * 
 * CREATE TABLE script_table (
    id                  SERIAL PRIMARY KEY,             -- 自增主键

    origin_name         VARCHAR(100),                  -- 脚本名称
    saved_name          VARCHAR(200),                  -- 保存文件名
    saved_dir           VARCHAR(300),                  -- 保存路径
    file_type           VARCHAR(50),                   -- 脚本类型
    file_description         TEXT,                          -- 脚本描述

    input_num           INT,                           -- 输入参数个数
    output_num          INT,                           -- 输出参数个数

    

    insert_time         TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_time        TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

COMMENT ON COLUMN script_table.id IS '自增ID';
COMMENT ON COLUMN script_table.origin_name IS '脚本名称';
COMMENT ON COLUMN script_table.saved_name IS '保存文件名';
COMMENT ON COLUMN script_table.saved_dir IS '保存路径';
COMMENT ON COLUMN script_table.file_type IS '文件类型';
COMMENT ON COLUMN script_table.file_description IS '脚本描述';
COMMENT ON COLUMN script_table.input_num IS '输入参数个数';
COMMENT ON COLUMN script_table.output_num IS '输出参数个数';

COMMENT ON COLUMN script_table.insert_time IS '插入时间';
COMMENT ON COLUMN script_table.updated_time IS '更新时间';
 */
@Data
@TableName("script_table")
public class ScriptData implements Serializable{
    private Integer id;
    private String originName;
    private String savedName;
    private String savedDir;
    private String fileType;
    private String fileDescription;
    private String outputType;
    private String inputType;
    
    private Integer inputNum;
    private Integer outputNum;
    private Timestamp insertTime;
    private Timestamp updatedTime;
}
